package com.cn.hotel.service;

import com.cn.hotel.model.RoomTypeModel;

import java.util.List;

public interface IRoomTypeService {

    List<RoomTypeModel> findAll(RoomTypeModel roomTypeModel);

    int getNumber(RoomTypeModel roomTypeModel);

    int add(RoomTypeModel roomTypeModel);

    RoomTypeModel findById(Integer temp);

    int edit(RoomTypeModel roomTypeModel);

    int delete(Integer aa);
//------------------下面是前端页面调取数据逻辑代码------------------------

    /**
     * 网站首页调取
     * @return
     */
    List<RoomTypeModel> getRoomTypeModelList();
}
